﻿/// <reference path="//Microsoft.WinJS.1.0/js/base.js" />
(function () {

    var PortfolioRequest = WinJS.Class.define(function (portfolios) {
        this.portfolios = portfolios;
    },
    {});

    function requestPortfolios() {
        return new WinJS.Promise(
            function (complete) {

            }
        );
    }

    function add(portfolio, callback) {
        portfolio.id = 5;

        callback(portfolio);
    }

    function _ensureDbOpen() {
        
    }

})();